import request from '@/utils/request'
// 登录请求
export const loginAPI = (data) => request.post('/h5/user/login', data)
// 注册请求
export const registerAPI = (data) => request.post('/h5/user/register', data)
// 获取人员信息

export const getUserInfoAPI = () => {
  return request.get('/h5/user/currentUser')
}
